package com.atguigu.day07.test;

import java.util.Scanner;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/6 8:44
 * @注释
 */
public class Morning {
    public static boolean judge(int x){
        if(x % 3 == 0){
            return true;
        }
        return false;
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个数字：");
        int x = sc.nextInt();

        System.out.println(judge(x));
    }
}
